﻿using System.Drawing;

namespace dk.Helper.Base
{
    public interface IWorldMapper
    {
        /// <summary>
        /// Gets or sets the world map settings.
        /// </summary>
        /// <value>
        /// The world map settings.
        /// </value>
        IWorldMapSettings WorldMapSettings { get; set; }

        /// <summary>
        /// Creates the map.
        /// </summary>
        /// <param name="clientRectangle">The client rectangle.</param>
        /// <returns></returns>
        Bitmap CreateMap(Rectangle clientRectangle);

        /// <summary>
        /// Gets the village at bitmap location
        /// </summary>
        /// <param name="point">The point on map (bitmap).</param>
        /// <returns></returns>
        IVillage GetVillage(Point point);
    }
}